package com.bjb.vr.common.mapper;

import com.bjb.vr.common.dto.SysTenant;
import com.bjb.vr.common.vo.SysTenantVo;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysTenantMapper extends MPJBaseMapper<SysTenant> {
	SysTenant selectFirstOne();

	List<SysTenantVo> selectSysTenantList();

	List<SysTenantVo> selectConfigSysTenantTree();

	List<SysTenantVo> selectUnConfigSysTenantTree();

    String queryTenantNameByAccountId(@Param("accountId") Long accountId);
}
